package com.software.myopiachildren.bean;


import java.io.Serializable;

/**
 * 带数据
 */
public class BaseDataInfo implements Serializable {


    /**
     * status : success
     * code : 10000
     * msg : 请求成功
     * time : 1589871478
     * data : {"has_device":0,"device_code":""}
     */

    private String status;
    private String code;
    private String msg;
    private long time;
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * has_device : 0
         * device_code :
         */

        private int has_device;
        private String device_code;

        public int getHas_device() {
            return has_device;
        }

        public void setHas_device(int has_device) {
            this.has_device = has_device;
        }

        public String getDevice_code() {
            return device_code;
        }

        public void setDevice_code(String device_code) {
            this.device_code = device_code;
        }
    }
}
